\directlua {
dofile(kpse.find_file("scrp-ini.lua","tex"))
dofile(kpse.find_file("scrp-cjk.lua","tex"))
chinese=scripts.names['hanzi']
preproc=attributes.private("preproc")
function myfunc(head, groupcode)
	for t in node.traverse(head) do
		node.set_attribute(t,preproc, chinese)
	end
	scripts.preprocess(head)
	return true
end
callback.register('pre_linebreak_filter', myfunc)
}

\directlua {
dofile (kpse.find_file ("scrp-zhpunc.lua", "tex"))
callback.register ("post_linebreak_filter", zhpunc.proc)
}
